#ifndef GLFW_SIMPLE_H
#define GLFW_SIMPLE_H

#include <math.h>
#include <stdlib.h>
#include <GL\glfw.h>

#include <stdio.h>
#include <stdarg.h> // for va_array va_start, va_end
#include <string.h> // for strlen

//#include "fonts.c"
#include "simplexFont.c"

#ifndef M_PI
#define M_PI 3.14159265
#endif
// Todo: glSetTex, glRemoveTex


void setCol(float r, float g, float b);
void moveTo(float x, float y);
void lineTo(float x, float y);
void drawSph(float x, float y, float radi);
void drawCone(double x0,double y0,double r1,double x1,double y1,double r2);
void DrawRect(float sx, float sy, float wx, float wy);
float rnd();
float nrnd();
void GLFWCALL reshape(int width, int height);
#define klock() glfwGetTime()
void GLFWCALL HandleKeys(int k, int status);
void drawChar(int c,float scale);
void setFont(float w, float h);
void glPrintf(const char *format,...);
void GLFWCALL HandlePress(int button,int action);
void GLFWCALL HandleMouseMotion(int x, int y);
void doPrint(int i);
void showk();

static float xres, yres;

#endif
